# filename: example8_15.py

class StudentClass:
    def __init__(self, name, age):
        self.name = name
        self.__age = age

    def __getAge(self):
        return self.__age

    def printAge(self):
        return "student: {}, age: {}".format(self.name, self.__getAge())


stu1 = StudentClass("Zhang San", 18)
print(stu1.printAge())
